<!--user login-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title><{$Think.lang.KOD_NAME}><{$Think.lang.KOD_POWER_BY}></title>
	<link href="__PUBLIC__/images/favicon.ico" rel="Shortcut Icon" >
	<link href="__PUBLIC__/style/bootstrap.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet"/>
	<link href="__PUBLIC__/style/font-awesome/css/font-awesome.css" rel="stylesheet" >
	<!-- 字体不能跨域问题 -->
	<!--[if IE 7]>
	<link rel="stylesheet" href="__PUBLIC__/style/font-awesome/css/font-awesome-ie7.css">
	<![endif]-->
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/style/login.css">
</head>
<body>
	<img class="background" src="__PUBLIC__/images/wall_page/<{$image}>" />
	<div class="loginbox" >
		<div class="title">
			<div class="logo"><i class="icon-cloud"></i><{$Think.lang.KOD_NAME}></div>
			<div class='info'>——<{$Think.lang.KOD_NAME_DESC}></div>
		</div>
		<div class="form">
			<div class="inputs">
				<div><span><{$Think.lang.USERNAME}>：</span><input id="username" name='name' type="text" placeholder="<{$Think.lang.USERNAME}>" required/> </div>
				<div><span><{$Think.lang.PASSWORD}>：</span><input id="password" name='password' type="password" placeholder="<{$Think.lang.PASSWORD}>" required /></div>
				
            	<if condition="$Think.session.code_error_time && $Think.session.code_error_time egt 3" >
				<div class='check_code'>
					<span><{$Think.lang.LOGIN_CODE}>：</span>
					<input name='check_code' class="check_code" type="text" placeholder="<{$Think.lang.LOGIN_CODE}>" required /> <img src='./index.php?user/checkCode' onclick="this.src='./index.php?user/checkCode'" />
					<div style="clear:both;"></div>
				</div>
				</if>
			</div>
			<div class="actions">
				<input type="submit" id="submit" value="<{$Think.lang.LOGIN}>" />
				<input type="checkbox" class="checkbox" name="rember_password" id='rm' checked='checked' />
				<label for='rm'><{$Think.lang.LOGIN_REMBER_PASSWORD}></label>
			</div>
			<div class="msg"><{$msg}></div>
			<div style="clear:both;"></div>

			<div class='guest'>
				<if condition="$Think.config.SETTING_SYSTEM_DEFAULT.AUTO_LOGIN == 1">
				<a href="<{:U('user/loginSubmit',array('name'=>'guest','password'=>'guest'))}>"><{$Think.lang.GUEST_LOGIN}><i class=' icon-arrow-right'></i></a>
				</if>
			</div>
		</div>
	</div>
<div class="common_footer"><{$Think.lang.COPYRIGHT_PRE}> v<{$Think.config.KOD_VERSION}> | <{$Think.lang.COPYRIGHT_INFO}></div>
<script src="http://childsay.com/kod/index.php?share/common_js#id=<?php echo rand_string(8);?>"></script>
<script src="__PUBLIC__/js/lib/seajs/sea.js?ver=<{$Think.lang.KOD_VERSION}>"></script>
<script type="text/javascript">
	seajs.config({
		base: "__PUBLIC__/js/",
		preload: ["lib/jquery-1.8.0.min"],
		map:[
			[ /^(.*\.(?:css|js))(.*)$/i,'$1$2?ver='+G.version]
		]
	});
	seajs.use("app/src/user/main");
</script>
</body>
</html>